package cn.swust.designpatternlearningplatform.dao.sql;

import org.apache.ibatis.jdbc.SQL;

public class ClassInformationDaoSql {
    //标记
    public String getTeacherName(String teacherAccount){
        return new SQL(){
            {
                SELECT("teacher_name");
                FROM("teacher");
                WHERE("teacher_account=#{teacherAccount}");
            }
        }.toString();
    }
}
